<?php

namespace app\controllers;

use Zend\Diactoros\Response\HtmlResponse;
use Psr\Http\Message\ServerRequestInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

class SiteController
{
    /**
     * @inject
     * @var ServerRequestInterface
     */
    private $request;

    /**
    * @Route("/")
     */
    public function index($name = '李四123')
    {
        return new HtmlResponse($name);
    }
}
